#include <stdio.h>

int main() 
{
	int a,b,c,d,e,f,g;
	char op;
	scanf("%d%c%d",&a,&op,&b);
	c=a+b;
	d=a-b;
	e=a*b;
	f=a/b;
	g=a%b;
	switch(op)
	{
		case 43:printf("%d\n",c);break;
		case 45:printf("%d\n",d);break;
		case 42:printf("%d\n",e);break;
		case 47:printf("%d\n",f);break;
		case 37:printf("%d\n",g);break;
	}	
}